1. Make a folder for the project

mkdir project_name

  1. Write the program

  2. Initialize the git repo

git init

  1. Add the changes

git add .

  1. Commit the changes

git commit -m"commit messages"

  1. Setup github repo

  2. Link the github repo to the local git repo

git add remote xxxxxxx

  1. Push the changes

git push -u origin main

  1. Update the program

  2. Add the changes

git add .

  1. Commit the changes

git commit -m"commit messages"

  1. Push the changes

git push -u origin main

  1. Goto step 9