title: Git: keep multiple branches checked out
body: <p>Each time I checkout a branch, I need to rebuild my project. This project has a long build process and I frequently switch branches so this wastes a lot of time. My solution has been to create local clones of the local repo, with different branches checked out in each clone, so that build scripts aren't faced with wholesale changes to the source each time I switch branches. The downside is that I've got to remember to keep the clones up to date.</p>
  
  <p>Is there a better way to deal with this situation? If not, what are the best practices for maintaining multiple local clones?</p>
  
  <p>Thanks!
  Matt</p>