Git import and export in Arduino IDE

I think it would be nice if the Arduino IDE has a export to git(hub) function. Just start a project, and lets (auto-)update when changes are made...