echo "# MasteringGit" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <Repo Link>
git push -u origin main
-
Untracked: Files are not tracked/qrecorded for any modifications
-
Staged/Tracked: Woerk In progress, The files are being tracked by GIT
git add filename
- Commited: you are done with the changes and you want to send the changes to remote repository
git commit -m "commit message"
Here is the link for MarkDown-Cheatsheet
- Create a GitHub Account for maintaining the remote repositories