Add support for commit and branch snapshots with warnings