code: def print_rev_id(localRepoPath):
      
      start_path = os.getcwd()
      try:
          log.info("Local repository path: {}".format(localRepoPath))
          os.chdir(localRepoPath)
          log.info("\n== Remote URL")
          os.system('git remote -v')
  
          # log.info("\n== Remote Branches")
          # os.system("git branch -r")
  
          log.info("\n== Local Branches")
          os.system("git branch")
  
          log.info("\n== Most Recent Commit")
          os.system("git log |head -1")
          rv = 0
      except:
          rv = 111
          log.info("WARNING! get_git_rev_info.print_rev_id() encountered a problem and cannot continue.")
      finally:
          os.chdir(start_path)
          if rv != 0:
              sys.exit(rv)
docs: prints information about the specified local repository to STDOUT. Expected method of execution: command-line or
      shell script call
  
      Parameters
      ----------
      localRepoPath: string
          Local repository path.
  
      Returns
      =======
      Nothing as such. subroutine will exit with a state of 0 if everything ran OK, and a value of '111' if
      something went wrong.