Only remove .git if it is in the end of the GH URL. Fix #1.
0.2.0