How to clone whole repository with all branches in git

Sometimes we need all the branches available in our local system. Lets see how can we clone a github repository with all the available branches. Clone the whole repository as bare. It will copy all the branches. $git clone –bare https://github.com/planetoftheweb/expressjs.git .git Make the bare...
Continue reading »