Setting up your repository & project
1. Create a repository for your project on Github
Login to your Github account -> go to Repositories and click on New to create a new repository

Fill in Repository Name -> Description (optional) -> make it Public or Private -> Click on Create repository
2. Create a repository for your project on your computer
1. Create a new folder
If you have previously created a new directory/folder for the project, there is no need to create it again. First, letβs create a new directory in the Desktop folder for our work and then change the current working directory to the newly created one. Open Terminal or command prompt:
2. Git setup
Files can be stored in a projectβs working directory (which users see), the staging area (where the next commit is being built up) and the local repository (where commits are permanently recorded), and then can be pushed to the remote repository. The diagram below provides the best representation of these.
3. Remove existing local repository
If you wish to remove existing repository and re-do the process from step 1 onwards:
Last updated