I am newbie in GitHub, before i was using SVN for development of visual studio project between users.
But question is how 2 users can work on one file of project with github?(in SVN one can lock that file and make change and commit after that).
So how development team can work on project on github? OR Which should be the best way to use github in team?
Normally you checkout your copy of the repo on GitHub. You work with it and commit it. Your friend has his own “branch”.
You want to prevent that he is working on the same file like you and you don’t get conflicts after committing, right? I cant answer you directly since I’m also quite new to Git but maybe this helps you:
http://nvie.com/posts/a-successful-git-branching-model/