1) git add -A
git add -A is equivalent to git add .; git add -u.
git add . ( This will add all files but does not remove files )
git add -u ( This will add only changes but will not add any new files created )
So we use
git add -A ( this will take care of both the commands )
2) git commit -m “Commit changes text ex: I have added new function xyz to the file
3) git push origin
example of branch name : develop
Another 3 frequently used commands include :
git pull
git status
git merge origin/Branchname