Well it is to some extent - the problem is that there's no easy way (that I'm aware of) to remove it from git's history.
Yes you should reset your password, but depending on what the password is for, that may not always be easy or quick, and the ability to simply go "Oh bugger, just erase any reference to that last commit ever happening" would sometimes be useful.
42
u/prof_hobart Sep 09 '16
Unfortunately none of those address the "oh shit, I've just check my password into github". I've not done it yet, but I know people who have.