This is an excellent article from the makers of Tower[ref]Tower is an excellent app for managing git repositories; a bit pricey, but there is a 30-day free trial. Check it out.[/ref]. It's written assuming you're using git, but there are a lot of great points if you're using any source code management solution:
Be sure to read the original article to see an explanation of each point.
[references/]