slight changes to git functions