Best advice if you're going to be working in a team of people programming is to comment comment comment.
//like this
/* Or maybe
even like this
*/
Just because your code might make sense to you now, it probably won't later. Then imagine how someone else feels reading your code. Then imagine how a noob feels reading your code (hint: bad).
Also, I have used git in the past and have had no problems and only success with it, if you're looking for a closed source alternative to GitHub, you can try Assembla, the site I personally use.
http://www.assembla.com