This tutorial will guide you through the basics of Git and GitHub.
git initInitialize a new Git repository in your project directory.
git add filenameAdd changes in the specified file to the staging area for the next commit.
git commit -m "Your commit message"Commit the changes in the staging area with a descriptive message.
git push origin branch-namePush your committed changes to the GitHub repository.
git checkout branch-nameSwitch to the specified branch.
git checkout -b new-branch-nameCreate a new branch and switch to it.
git pull origin branch-namePull the latest changes from the remote repository to your local repository.
git merge source-branchMerge changes from the source branch into the current branch.