How version control works? Best practices.