Make the .git optional

- Our remote.origin.url might not use .git