Everytime you push your new code to github or bitbucket you need to enter a username and password. But using this tip you can bypass entering Username and password while pushing codes to github.

git clone https://username:password@github.com/username/repository.git
git remote add origin https://username:password@github.com/username/repository.git

This way worked for me from a github repository