Go the project folder for example:
cd /home/vickrant/project1
then edit the git config file like:
sudo vim .git/config
In this file you can change the url to whatever repository you like to change it to. Save and close the file. Now you can do git pull from the new URL.
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://vickrantearnest@bitbucket.org/project1.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "develop"]
remote = origin
merge = refs/heads/develop
[branch "master"]
remote = origin
merge = refs/heads/master