A version control API for CC