Saranya Shanmugam
May 23, 20244 min read
Git and GitHub Workflow Cheat Sheet for Beginners
SETUP & INIT Install Git: Windows: Download Git from https://git-scm.com/download/win Verify installation: git --version Initialize a repository: git init Clone a repository: git clone [URL] Check repository status: git status 2. STAGE & SNAPSHOT Add a file to staging: git add [file] Unstage a file: git reset [file] Commit staged content: git commit -m "[descriptive message]" Show changes in working directory: git diff Show changes between staging and last commit: git dif







