git clone [url]Creates a copy of a remote repository on your local machine.
git add .Stages all changes in the current directory for the next commit.
git commit -m "Initialize project"Records the staged changes with a descriptive message.
git pushUploads local repository content to a remote repository.
git remote add [url]Connects your local repository to a remote server.
git logShows the commit history for the current branch.
git statusDisplays the state of the working directory and staging area.
git checkout [branch-name]Switches to a specified branch and updates the working directory.
git merge [branch-name]Combines the specified branch's history into the current branch.
git rebase [branch-name]Reapplies commits on top of another base tip, often used to maintain a linear project history.
git pullFetches from and integrates with another repository or local branch.
git fetchDownloads objects and refs from another repository without merging.
git branchLists, creates, or deletes branches in your repository.