Git's top 5 challenges for developers include a steep learning curve, merge conflicts, repository bloat, branch management difficulties, and the complexities of undoing changes.
So imagine that you blindly committed some changes with `git commit -a`, and you are not satisfied with the particular content of the commit you just created.
While working with teams, there is a good chance of screw-ups. There can be any mistake. One of the most common is leaving conflict markers somewhere. Finding these markers can be tedious if you have a large repository.
I would recommend all developers to set up this globally; you will love it and won't even remember it.