- git init // Initialize Git in the current folder (one-time command)
- git add . // Add all files to the staging area
- git commit -m "Update main.py" // Commit changes with a message
- git remote add origin // Link GitHub repo to local repo (one-time command)
- git remote -v // Verify the linked remote repo
- git push origin main // Push local commits to GitHub
- git clone // Clone a GitHub repository
- git status // Show the current status of repo
- git log // Show commit history
- git config --global user.name "Abbas Asad"
- git config --global user.email "abbas07tech@gmail.com"