Developers use git branches to merge multiple ongoing threads of work without conflicting.
See this slide deck to see how git manages and merges multiple ongoing commit threads.