Check for git url in any format. https / sss / git
MIT License
Regular expression for matching any git based url
$ npm install --save regex-git
const regexGit = require('regex-git');
const https = 'https://github.com/perkinsjr/regex-git.git';
const git = '[email protected]:perkinsjr/regex-git.git'
regexGit.test(https);
regexGit.test(git);
MIT © James Perkins