Oct 23, 2024
git --versiongit initgit remote add origin <URL>git add to stage changesgit commit to save changesgit push to upload changes to GitHubgit checkout -b <branch-name>git checkout <branch-name>git reset <file>git reset HEAD~1git reset --hard <commit-hash> to discard changes