If you’re new to Git — start here.
After this section, you will:
- Understand what Git is
- Make your first commit
- Push code to GitHub
Download Git:
👉 https://git-scm.com/downloads
Verify installation:
git --versiongit config --global user.name "Your Name"
git config --global user.email "your@email.com"mkdir my-first-repo
cd my-first-repo
git initecho "Hello Git" > file.txt
git add file.txt
git commit -m "First commit"- Create a repo on GitHub
- Copy URL
git remote add origin <repo-url>
git push -u origin main- You created a Git repository
- You added a file
- You saved a snapshot (commit)
- You uploaded it to GitHub
👉 Go to: 00-Mental-Models/README.md