Search code examples
gitcvsdvcs

Is Git a good version control system for web development (HTML/CSS/Javascript) on a corporate project?


I'm currently involved in a large project - the redevelopment of a corporate website.

The project involves many staff across several teams (content, design, etc).

There is a small team (myself and another developer) in charge of the front-end/presentation layer of the system - that is - the development of templates using HTML, CSS and Javascript.

Code quality, iterative development and frequent testing are an important aspect of the project.

The back-end development team currently use CVS; however it's taking IT so long to give access to my team that I'm considering setting up our own version control, through say GitHub.

Would Git bring any particular benefits to front-end development in this environment?

(I understand the basic principles of Git; the other developer doesn't have any experience with it, but would be happy to pick it up.)


Solution

  • git will be no less appropriate for a corporate environment than something like CVS or SVN. There is nothing in the design or implementation that makes it inappropriate for the corporate environment.

    You'll probably end up using a hybrid approach: each developer will have a local git repository and will push back to an internal origin (a central spoke) to keep with the corporation's backup policies and to give the the boss that warm and fuzzy, 'my code is safe' on the repository.corpration.com machine. As you mentioned, github can act as your origin.

    Have a look at http://en.wikipedia.org/wiki/Git_(software)#Projects_using_Git for a list of large organizations (open source and non-open source) using git.

    Also take a look at http://www.youtube.com/watch?v=4XpnKHJAok8 and pay particular attention when Linus tells Google that their current revision control system sucks and that they'd be much better off with git.