Working git_remote function

Different method to get the remote as a string. This way we don't have to do any extra parsing.

Also cleaned up the comments and made the remote name default to origin.
Ignoring compiled python files