News

Git watches over your whole folder, but changes you make to files are not tied to a specific Git branch until you commit them. You can move branches, and bring those changes along with you.
The old commit becomes orphaned in your local workspace. The new, amended commit replaces the previous commit at the tip of the currently selected branch. As such, it is more accurate to say the git ...