The actual write is atomic but the entire append + write obviously isn't. That's Bad® but I imagine we have problems everywhere if git is running concurrently.