Remove escape characters from git calls