Configuring and connecting to a remote git hub repository

I learnt through that a git repository has to have a '.Git' folder.

I am looking on my remote github repository and seeing only files .gitignore and .gitattributes.

Whats more whenever I try to run any git commands on that remote location I get the following error:
'git' is not recognized as an internal or an external command, operable program or batch file.

Examples of commands I have used are (names were modified of course but its the same format):
$git remote

All commands produce the error above.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Franck HorlavilleTechnical DirectorCommented:

You don't specify which OS you are using. It seems like the git application is not installed on your system.

If you're on MacOS X or Windows, could I suggest using SourceTree ?

If you're on linux,
sudo yum install git

Open in new window

sudo apt-get install git

Open in new window

should install git for you.

More details on installing git can be found here: Installing Git

Once installed you want to clone an existing repository using the command
git clone <theurl>

Open in new window

Good tutorial here: Atlassian Git Tutorial

Once you understood the principle, I heavily suggest you implement GitFlow

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Version Control

From novice to tech pro — start learning today.