Made .git at the end of remote optional
Properly implement .git at the end of remote optional
Merge branch 'tgkokk-dot-git-optional'