In SVN you can Check Out (to block others) can you do this in GIT?
git, svn, version-control
Solution
Git doesn't have a central store that you can query to check if a file is "locked". Due to its distributed nature, a repository could be on 1,000 computers, and they'd all be equal. If you allowed all of them to lock a file, and for them to communicate this to all other repositories, all files would basically be locked all the time.
So no, you can't do that in Git. Instead, rely on updating often and handling the odd merge conflict.
You can read about distributed version control systems on Wikipedia.
Problem
In SVN you can Check Out (to block others from working on the same file). Can you do this in GIT? It seems like you have to set up a second system that tells people what files are being edited by who with GIT?