This tutorial will guide you through the basics of Git and GitHub.
git init
Initialize a new Git repository in your project directory.
git add filename
Add 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-name
Push your committed changes to the GitHub repository.
git checkout branch-name
Switch to the specified branch.
git checkout -b new-branch-name
Create a new branch and switch to it.
git pull origin branch-name
Pull the latest changes from the remote repository to your local repository.
git merge source-branch
Merge changes from the source branch into the current branch.