π₯ Sure β hereβs a professional README.md for your GitHub/Git cheat sheet repo. This is ready to be added to your repo and looks clean + informative.
# π GitHub Control: Pro Git + SSH Command Sheet
This repository contains a complete cheat sheet of essential Git and GitHub commands β tailored for secure, SSH-connected development used by real-world backend, AI, and open source developers.
---
## π¦ Git Global Setup
```bash
git config --global user.name "Your Name"
git config --global user.email "your@email.com"cd your-project-folder
git init
git remote add origin git@github.com:username/repo.git
git add .
git commit -m "initial commit"
git branch -M main
git push -u origin maingit add .
git commit -m "your commit message"
git push
git pull origin maingit switch -c feature-branch # create + switch
git switch main # switch back to main
git merge feature-branch # merge into maingit stash # temporarily save work
git stash pop # restore saved work
git revert <commit> # undo a specific commit safelygit log --oneline # compact commit history
git status # check modified files
git ls-files # list tracked files
git ls-files | wc -l # count tracked filesgit cherry-pick <commit-hash>git clone git@github.com:username/repo.gitssh -T git@github.com*.log
*.class
.env
node_modules/
__pycache__/- Starting a new project
- Uploading work-in-progress code
- Collaborating with teammates
- Avoiding login issues via SSH
- Managing
.envsecrets - Fixing broken commits or pulling updates
Backend developers, AI engineers, and system designers who want full control of their GitHub workflow.
Aven Hasanaath GitHub: @hasanaath27
π Star the repo to bookmark this cheat sheet for life.
---
β
Copy-paste this into `README.md` inside your Git command repo.
Want me to also auto-generate this as a `.md` file and push to your repo for you (manual steps)?