This allows having different versions of the code, rolling back to a previous version, having a history of all code changes, etc.
It makes sense to use source control for test automation projects as these are development projects.
For source control, typical options are:
- Subversion (https://subversion.apache.org/) if you want to keep the code changes locally or on a server
- GitHub (https://github.com/) if the code should be stored online