## push local branch to new remote branch
### Sets the new remote, see [Adding a remote](https://help.github.com/articles/adding-a-remote/) for more
```
//ex: git remote add origin remote https://github.com/ronsun/PagedListWithSizeTemplate.git/
//-u is short for --set -upstream
git remote add origin remote repository URL
```
### Verifies the new remote URL
```
git remote -v
```
### Push to exist remote, see: [Pushing to a remote](https://help.github.com/articles/pushing-to-a-remote/) for more
```
git push origin master
```
## appendix
### Remove the remote if added a incorrect remote
```
git remote rm origin
git remote rm origin git@github.com:username/myapp.git
```