to push in the master branch force code example
Example 1: git push current project to master
git init
git add .
git commit -m 'First commit'
git remote add origin <remote repository URL>
git push origin master
Example 2: how to push force git
git push origin <your_branch_name> --force
Example 3: push from branch to master
$ git push origin develop:master