Source Code Repository – GIT or TFVS?

Whenever I present TFS or Visual Studio Online (VSO), somebody asked me “how to choose the type of the sourcecode repository: GIT or TFVC?”.

The main difference is that TFVC is based on a central server while GIT is based on distributed databases. For GIT, there are also some limitations about the security to some part of code (folder, file, …).

More info on MSDN pages:

Main TFVC advantages are:

  • Code is centralized on a server.
  • Security is more important: repository, folders, files.
  • Branching are used to manage releases and avoid risks.
  • Integrated since Visual Studio 2010.
  • Team can be small or large.

Main GIT advantages are:

  • Code is distributed on servers and all developers environments (PC).
  • Branching are fundamentally integrated in GIT process: light and used by all developers.
  • History is available offline.
  • Using many 3-tiers tools: TortoiseGit, GitHub, …
  • Team can be small or based on “Open source” philosophy (but not adapted for large team… in this case, you must split your large team to multiple small teams).
Posted in Uncategorized
2 comments on “Source Code Repository – GIT or TFVS?
  1. netcpe says:

    Also a nice addition is that GIT is really easier for branching strategies. See GitFlow

  2. Yes, indeed, but too many branches can generate a management complexity.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me
   RSS Feed    Twitter    Linked In

Write you email address to subscribe at this blog and to receive new posts by mail.

Join 611 other followers

Who I am?

%d bloggers like this: