I'm often building servers where the goal is to install some software that is stored in Github. The process goes:
- Install Git.
- Clone the Github repo.
- Checkout the right branch.
Steps 1 and 2 can be pretty slow (a few minutes). Are there any tools that would allow me to cut to the chase, step 3? I'm thinking something like:
- Get gitcheckout tool (bash script)
- It directly pulls down the relevant files from the right branch in Github.