After creating a repository in GitHub, we have to give the following command in git Bash to push the local repository to global.
git init
git add .
git commit -m "Commit Summary"
git remote add origin https://github.com/enamcse/******.git
git push -u origin master
If the last command does not work, we have to force update by the following command: