How do you create a bare repo that becomes the source
i have struggled to implement git as my version control system on numerous occasions... so frustrated. read numerous articles and tutorials. searched but can't seem to create a search that addresses what i need to know. In this attempt i am trying to do the following. Tell me if this is wrong please.

 1. MAIN BARE REPO: create a bare repository on my development machine that i can push changes to (done. currently has nothing in it.)
 2. DEVELOPMENT BRANCH REPO: initiate a repository in the directory that i can make changes in and then push to the bare repository. (done. completed the first commit.)
 3. PRODUCTION BRANCH REPO: initiate a repository on my host to pull updates from the bare repository. (not done yet.)

I thought that #1 and #2 were almost done when i attempted to push from DEVELOPMENT to MAIN BARE REPO and got:

    no origin was found for working tree

Do i need to set the MAIN BARE REPO as the origin? Is there a command to do that? I'm afraid to ask for an article because most of the material that is written on git i have a really hard time applying for some reason.

If the answer is:

    git push --all <url-of-bare-repo>

What does that look like with the following information? 

 1. The development branch that i'm pushing from is located at /Users/me/sites/devel_repo
 2. The main bare repo that i'm pushing to is located at /Users/me/sites/main_repo

Thanks.
How do you create a bare repo that becomes the source
===

i have struggled to implement git as my version control system on numerous occasions... so frustrated. read numerous articles and tutorials. searched but can't seem to create a search that addresses what i need to know. In this attempt i am trying to do the following. Tell me if this is wrong please.

 1. MAIN BARE REPO: create a bare repository on my development machine that i can push changes to (done. currently has nothing in it.)
 2. DEVELOPMENT BRANCH REPO: initiate a repository in the directory that i can make changes in and then push to the bare repository. (done. completed the first commit.)
 3. PRODUCTION BRANCH REPO: initiate a repository on my host to pull updates from the bare repository. (not done yet.)

I thought that #1 and #2 were almost done when i attempted to push from DEVELOPMENT to MAIN BARE REPO and got:

    no origin was found for working tree

Do i need to set the MAIN BARE REPO as the origin? Is there a command to do that? I'm afraid to ask for an article because most of the material that is written on git i have a really hard time applying for some reason.

If the answer is:

    git push --all <url-of-bare-repo>

What does that look like with the following information? 

 1. The development branch that i'm pushing from is located at /Users/me/sites/devel_repo
 2. The main bare repo that i'm pushing to is located at /Users/me/sites/main_repo

Thanks.