The default diff algorithm used by Git is pretty good, but it can get mislead by larger, complex changesets. The result is a noisier, misaligned diff output.
The author of the previous commit can be amended with the following command
Git provides a command explicitly intended for cleaning up (read: removing) untracked files from a local copy of a repository.
Git makes it easy to checkout the last branch you were on.
When you want to return to a past version of a file, you can reset to a past commit. When you don’t want to abandon a bunch of other changes, this isn’t goin...