I created a repository on github, which has now been forked by a colleague, and I have read/write access on the forked repository. We'll be working on some things in this repository in tandem, but we'll each also write related code for personal use that does not need to be shared between us. What is the proper way to handle this in git? Or is this sort of setup against the organizational philosophy of git?
I have tried out making two branches, as that seems like the way that this ought to be handled, but I haven't been able to figure out how I might only merge the code that we want to share, and not merge other commits that I make that my colleague does not need/want. I've been learning git recently using the Pro Git book (http://progit.org/book/), but I was not able to find out how to do what I am trying to do (or if it is even something I should be trying to do).
Thank you in advance for any assistance.