When I help people get started with git, I tell them several times to commit as often as they can. If they committed it, I can probably save them when they think they lost something.