To install GitHub Desktop on Windows use:
winget install GitHub.GitHubDesktopTo install GitHub Desktop on Ubuntu use the @shiftkey package needs to be added:
wget -qO - https://apt.packages.shiftkey.dev/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/shiftkey-packages.gpg > /dev/nullsudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/shiftkey-packages.gpg] https://apt.packages.shiftkey.dev/ubuntu/ any main" > /etc/apt/sources.list.d/shiftkey-packages.list'Then GitHub Desktop can be installed:
sudo apt update && sudo apt install github-desktopInstallation instructions taken from the ShiftKey Repository
Once GitHub is installed, launch it using its icon from the start menu:
Select sign in to GitHub.com:
This will take you to the GitHub website where you can sign in to your GitHub account:
Select open xdg-open:
Select use my GitHub account name and email address and select Finish:
Select Clone a Repository from the Internet:
If you have personal repositories they will be listed under the GitHub.com tab:
Alternatively select URL and then paste in the URL:
https://github.com/PhilipYip1988/python-notebooks This will download the repository to a local path within Documents/GitHub. Select Clone:
This will download all the files to the local folder:
The GitHub Desktop will list any changes you made to the repository:
The GitHub repository is in Documents or OneDrive/Documents:
Then the GitHub subfolder:
Then the name of the repository:
The readme.md file is normally opened in JupyterLab or VSCode however for this example it can be opened in text editor:
If a change is made and saved:
The GitHub Desktop will list the changes made. Since this is not your repository, you cannot Commit to Main. However you can create your own fork:
Select fork this repository:
Select for my own purposes:
Now give details about the update made and select Commit to Main:
Select Push Origin:
The changes will be made to your forked version of the repository:
This will show under your profile:
When working with a GitHub repository on multiple computers A and B. If you make changes to the repository on A, you will be able to push changes to the repository on A and then pull changes from the repository on B using GitHub Desktop.






















