This script takes in as single positional argumnet the path to a git repo. It then flattens all files under git versioning into a single text file
with the name flat_{PROJECT_NAME}.txt. For each project file, the output file will contain the path from the git root, along with Markdown code
block with the contents of the file.
This script was generated using ChatGPT 4. I had a second conversation that checked the work of the first one and informed my follow-up prompts.