Associating your local repo to a repo in third party Git repository, say Bitbucket.
Step 1: Switch to your repository's directory
cd /path/to/your/repo
Step 2: Connect your existing repository to Bitbucket
git remote add origin git@bitbucket.org:username/your-repo-name.git
// ... Series of commits...
git push -u origin master
List your existing remotes in order to get the name of the remote you want to change.
git remote -v
Change your remote's URL from SSH to HTTPS with the git remote set-url command.
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Checking out a particular tag
Get all tags:
git fetch --all --tags --prune
Checkout a particular tag
git checkout tags/<tagname>
--
https://help.github.com/articles/changing-a-remote-s-url/
https://stackoverflow.com/questions/35979642/how-to-checkout-remote-git-...
Technologies: