GitΒΆ

To create a new repository in GitHub and then from the command line:

>> git init
>> git add .
>> git commit -m "first commit"
>> git branch -M main
>> git remote add origin https://github.com/samkhalilian/blog.git
>> git push -u origin main

To commit changes to this repo:

>> git add .
>> git commit -m "..."
>> git push

https://docs.github.com/en/pages/quickstart