Create your own repository on GitHub#
In this exercise, you’ll create your own repository in your personal GitHub account. If you don’t collaborate with others, this is not strictly necessary. However, we’ll practice with it in this workshop and it can be useful for doing version control and backing up your work.
Task 1: Create an empty repository on GitHub#
Go to github and log in to your account.
Click on the “+” icon in the top right corner and select “New repository”.
Name your repository (e.g., “WS1.1”)
Click “Create repository”.
Task 2: Clone the repository to your local computer#
On the repository page, click on the “Set up in Desktop” button.
Select a local folder where you want to clone the repository and click “Clone”.
Task 3: Add files to your repository#
Download the files of this workshop assignment as a
.zip-file to your computer.Unzip the downloaded file and copy the contents into the local folder of your cloned repository.
Task 4: Commit and push your changes#
Open GitHub Desktop and you should see the changes you made (the added files).
Write a commit message (e.g., “Initial commit” or “Add workshop files”) and click “Commit to main”.
Click “Push origin” to push your changes to GitHub.
Go back to your repository on GitHub and refresh the page. You should see the files you just added.
Your commit history now should look like this:

Check your commit history in VS code under the ‘source control’ tab in the ‘Graph’ panel.