Git-inspired File Context Management for LLMs