Troy Hunt lists the The 10 commandments of good source control management in his blog. I use git and github for eveything, including this web site and blog.
- Stop right now if you’re using VSS – just stop it!
- If it’s not in source control, it doesn’t exist
- Commit early, commit often and don’t spare the horses
- Always inspect your changes before committing
- Remember the axe-murderer when writing commit messages
- You must commit your own changes – you can’t delegate it
- Versioning your database isn’t optional
- Compilation output does not belong in source control
- Nobody else cares about your personal user settings
- Dependencies need a home too
None of these things are hard. Honestly, they’re really very basic: commit early and often, know what you’re committing and that it should actually be in VCS, explain your commits and make sure you do it yourself, don’t forget the databases and don’t forget the dependencies.