removes newline from git push function