Here are some basic Git commands: Commands Description git add <file> Adds a specific file to the staging area. git add . or git add –all Adds all modified and new files to the staging area. git status Shows the current state of your repository, including tracked and untracked files, modified files, and branch information. git status –ignored Displays ignored files in addition to the regular status output. git diff Shows the changes between the working directory and the staging area (index). git diff <commit1> <commit2> Displays the differences between two commits. git diff –staged or git diff –cached Displays the changes between the staging area (index) and the last commit. git diff HEAD Display the difference between the current directory and the last commit git commit Creates a new commit with the changes in the staging area and opens the default text editor for adding a commit message. git commit -m “<message>” or git commit –message “<message>” Cre