My team is and I are examining to transfer from TFS to GIT:
The first question is how to prevent conflict on a file?
TFS -
1. check out file.
2. start working with the file.
3. commit changes.
if a person A is trying to check out the file while a person B is working on it than TFS will prevent it and will prevent a conflict.
GIT -
1. pull file from remote repo to loacl repo.
2. start working on the file.
3. commit to local repo only.
it is not a problem to check out a file while some one else is working on it. because it all happens on his local repo.
to me git looks much more complex. what do you think? what is the best way to work with git?