GitHub Commands git clone url (repository link) cd foldername git checkout -b branchName (creating a branch) git add filename or git add . (add . is to add all files) git commit -m "message" git pull origin main (updating the files from main branch) git push origin userbranchname sent pr from github Extra commands git status ( to check the status of local files) git branch ( to list the branches and see the current branch) git checkout branchname (switch to branches) git fetch --all (to fetch all the changes ) git remote -v ( to see the remote url) creating issue branch git checkout main (switch to main branch) git pull origin main ( pull changes from main) git checkout -b newbranchname