fixes git diff prompt