GitHub Tips

Currently this is the current process I am using for GitHub.

  • Fork the original repository from GitHub website.
  • Open the GitHub Desktop client.
  • Clone the newly forked repository with the GitHub Desktop client
  • Open the the folder with git shell

Fetch all the changes on the main branch that have been updated on your fork

git fetch upstream

Merge all the remote changes into your fork

git merge upstream/<branch>

Push the remote changes on your fork to get up to date

git push

Now you can make commits as needed and then sync to your local fork before creating a pull request across the matching branches you want to use, most likely main.  After pull request is integrated run the above steps again to resync fork to latest.