In the not too distant future I could imagine a system where an AI agent like ChatGPT can be connected up to a git repository, you can ask it to change the code in different ways and once you're satisfied ask it to commit (it will write the commit message too)