Only trim .git from URL at end.