[Solved] Never build success on github pages

Build the gohugo follow by the official tutorial, but always failed.

-e Deploying updates to GitHub…
ERROR: 2015/04/03 Unable to locate Config file. Perhaps you need to create a new site. Run hugo help new for details
ERROR: 2015/04/03 No ‘baseurl’ set in configuration or as a flag. Features like page menus will not work without one.
ERROR: 2015/04/03 Unable to find Static Directory: /Users/Dev/goweb/src/static/
CRITICAL: 2015/04/03 No source directory found, expecting to find it at /Users/Dev/goweb/src/content
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git

Seems the tutorial is not completely. How can I troubleshooting it?

Either you’ve missed a step, or the tutorial missed a step.

We need more context to understand those errors.

What directory are you in?
What else is in that directory? ls -alh
What steps have you already done?

If you mean you are trying to put your project on github pages make sure you create a gh-pages branch as written here:
https://help.github.com/articles/user-organization-and-project-pages/

total 24
drwxr-xr-x 10 Dev staff 340B Apr 3 23:06 .
drwxr-xr-x 12 Dev staff 408B Apr 3 15:47 …
drwxr-xr-x 15 Dev staff 510B Apr 3 16:16 .git
-rw-r–r-- 1 Dev staff 30B Apr 3 15:52 .gitignore
-rwxr-xr-x@ 1 Dev staff 168B Apr 3 15:49 config.yaml
drwxr-xr-x 3 Dev staff 102B Apr 3 14:05 content
-rwxr-xr-x@ 1 Dev staff 366B Apr 3 15:49 deploy.sh
drwxr-xr-x@ 6 Dev staff 204B Jun 24 2014 layouts
drwxr-xr-x 15 Dev staff 510B Apr 3 15:58 public
drwxr-xr-x@ 3 Dev staff 102B Jun 24 2014 static

Maybe someone will be directly to open and follow the “Hosting on Github” page, will found the git command was not worked while they did not connect the project to GIthub before.

The page had been setup for Jekyll before? Should I need to delete and rebuild one for it ?

WHILE run Command – git rm --cached $(git ls-files) –
Error prompt as folllow:

fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git