#learning git
git init ->initilizes repo
git add ->add/tracks the file to staging
git commit -> pushed the added changes /file to local repo
git diff -> shows diffrence between directory and staging
git status ->shows the tracking/adding/commiting infos of current files
git restore--staged file name ->unstages the file_name
git branch ->show the current and all branches in a rep
git log ->shows the commit logs
git reset-- soft HEAD~1 ->resets the repo to previous commit
git checkout branch_name -> switch us to diffrent branch