They're both text so any tool that manages text workflows could be used for both; but source code and prose have great differences in practice:
Source Code | Prose |
---|---|
Source code often has multiple authors. |
Prose works have usually only one author and perhaps an editor. |
Source code is functionally sensitive to tiny changes and portions are closely interdependent. Even small edits can have great effects on usability, or even mean the difference between a working and a broken product. |
Prose is not functionally sensitive even to large-scale changes (it's not going to become somehow unusable if you mix your metaphors or misspell a word). |
Source code is frequently reused and extended in whole or in large parts. |
Prose loses value when directly reused since it derives most of its value from its originality. |