[bugfix] Get the actual Git branch and commit id