[git] Get a list of all git commits, including the 'lost' ones