Xcode4's new feature "git repository" is good feature. But I am confuse with it.
Does it allow check-in and check-out functionality ?
Does it allow other user to modify same file if someone already modifying it ?
Yes, git is a full version control system (VCS). There are many great resources for learning about git such as all of the resources listed in this stack overflow question.