Git can be used as an archive, too. It's a _distributed_ VCS, so that means that you work on a local copy of the entire repository and don't even need to upload it to the internet if you don't want to. However, having a copy on the internet allows anyone who has access to work on it at any time...