Can you elaborate? Why wouldn't you just check in your code when you're done your bit instead of working on the same commit together?
We can just work together, talking and writing code. Works great with people you work well with and are aligned with.