Hi, I write papers in rmarkdown using rticles and papja. Today I received feedback from one of my submisisons that I had to make some changes (limit references, reduce word count) before the paper could be processed by the journal. In my experience, a paper sometimes had to be sumitted more than once before it finds a good home, and each journal has its own requirements for abstract length, reference styling, headers etc., resulting in several adaptations of the "core" manuscript.
Is this a potential use case for git branches? With my limited experience with git, I think it could be useful to be able to revert to the "core" when submitting the paper to another journal, perhaps allowing more words or tables.
I was also wondering if this could be useful for revising papers after peer review, where I could add edits to the branch tailored to the specific journal which has accepted the paper pending revisions.
Is there any obvious reasons not to do this? Or any best practice recommendations of being able to use this method for processing papers from draft to submission?
For now, I have used sourcetree on my mac for easy switching back and forth from "core"/master and branch, but I can probably do this in Rstudio as well?
Any thoughts? Is this the best idea ever, or among the worst?