Starting a new project
git init
git add .
git commit -m "<your-commit-message>"
git branch -M main
git remote add origin https://github.com/<your-github-username>/<repository-name.git>
Joining an existing repository: There are 2 ways to do this
- Forking the repo from your github dashboard
- Cloning the repo from your github dashboard or running the command below from the folder:
git clone