Git and GitHub
Git and GitHub
Task 1 – Create a new repo remotely, clone it into the local machine, add a file and push
the new file to the remote repo.
Step 1: Create a Repo in GitHub. This Repo will be named ‘Masters_Degree’ and will be
public.
Step 3: Clone the Repo down into the local machine in a specific folder:
Task 2 – Create a new repo locally, clone it into the local machine, add a file and push the
new file to the remote repo.
Step 1: Create the new folder and initialise it as a Git Repo with ‘git init’ command:
Step 3: Add the remote origin, set the branch to main and push the initial commit: