Concept of git tracking and git staging
Git essentially has 4 main statuses for the files in your local repo: untracked: The file is new, Git knows nothing about it. If you git add <file>, it becomes: staged: Now Git knows the file (tracked), but also made it part of the next commit batch (called the index). If you git commit, it … Read more