getting an error when pushing to github using Mac osx?

The steps i took exactly on the terminal

went to the project directory i want to push:

>git remote add origin
>git push origin master

but i get this error, i don't know why

ssh: connect to host github port 22: Operation timed out fatal: The remote end hung up unexpectedly


The git URL is wrong. it should be:

not jquery.checkbox.git

See here:

EDIT 2: (fixed URL)

So to fix it, do this:

git remote rm origin
git remote add origin

Then try pushing again

Need Your Help

CakePHP 3.x: query for related posts

cakephp cakephp-3.0

I have Posts and Tags models, related with a "belongs to many" association.

Facebook-like chat for my Java web application

java javascript jquery seam2 livechat

I am creating Facebook-like chat for my Java web application. But it does not work, I followed