git pull and update from local commit code example
Example 1: how to get stashed on git
git stash pop
Example 2: delete local and remote branch github
$ git push <remote_name> :<branch_name>
git stash pop
$ git push <remote_name> :<branch_name>