Sometimes I need/have to sync a private repository with a public one, so this is what I usually do.
Add a new remote
git remote add github https://github.com/elastic/ansible-elasticsearch.git
Pull the new commits from master
git pull github master
Push new commits to origin
git push origin master
Push new tags
git push --tags origin