There are two other libraries we have come across which include some enhancement functionalities of this library. I am listing those below as it might be helpful for future users: - https://github.com/nephila/giturlparse - https://github.com/retr0h/git-url-parse