How to use git commands

--

Firstly, I pushed my local repository into github using git push
Then I staged the changes in all the files before committing them to the local repository
After that I uploaded the local repository commits into the github using git push
And then lastly I checked the log and history of the commits done by using git log

--

--