show commit hash and branch in layout.