Cargar carpeta con imágenes a github

Como el título indica que estaba cargando mi proyecto a github ( https://github.com/siddhartha-ramesh/FilmReview.git ), pero estoy atrapado aquí. No puedo cargar un directory llamado img to github. ¿Alguien puede ayudarme a hacer eso? No estoy usando ninguna GUI. ¿Puedo crear una nueva carpeta en github.com tal como puedo crear nuevos files?

Esto es lo que está sucediendo:

siddhartha@siddhartha-Inspiron-545s ~/Desktop/Untitled Folder $ git remote add origin git@github.com:siddhartha-ramesh/FilmReview.git siddhartha@siddhartha-Inspiron-545s ~/Desktop/Untitled Folder $ git push origin master The authenticity of host 'github.com (204.232.175.90)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? y Please type 'yes' or 'no': yes Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. siddhartha@siddhartha-Inspiron-545s ~/Desktop/Untitled Folder $ cd ~ siddhartha@siddhartha-Inspiron-545s ~ $ cd .ssh siddhartha@siddhartha-Inspiron-545s ~/.ssh $ ssh-keygen -t rsa -C "siddhartharamesh@gmail.com" Generating public/private rsa key pair. Enter file in which to save the key (/home/siddhartha/.ssh/id_rsa): key Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in key. Your public key has been saved in key.pub. The key fingerprint is: #key here siddhartha@siddhartha-Inspiron-545s ~/.ssh $ cd /home/siddharhta/.ssh bash: cd: /home/siddharhta/.ssh: No such file or directory siddhartha@siddhartha-Inspiron-545s ~/.ssh $ cd /home/ siddhartha@siddhartha-Inspiron-545s /home $ cd * siddhartha@siddhartha-Inspiron-545s ~ $ ls Desktop Documents Downloads Music Pictures Public Templates Videos siddhartha@siddhartha-Inspiron-545s ~ $ cd .. siddhartha@siddhartha-Inspiron-545s /home $ ls siddhartha siddhartha@siddhartha-Inspiron-545s /home $ cd siddhartha/ siddhartha@siddhartha-Inspiron-545s ~ $ cd .ssh siddhartha@siddhartha-Inspiron-545s ~/.ssh $ ls key key.pub known_hosts siddhartha@siddhartha-Inspiron-545s ~/.ssh $ cat key -----BEGIN RSA PRIVATE KEY----- -----END RSA _________________ siddhartha@siddhartha-Inspiron-545s ~/.ssh $ ls -a . .. key key.pub known_hosts siddhartha@siddhartha-Inspiron-545s ~/.ssh $ cat key.pub ssh-rsa #key here siddhartha@siddhartha-Inspiron-545s ~/.ssh $ cd .. siddhartha@siddhartha-Inspiron-545s ~ $ ls Desktop Documents Downloads Music Pictures Public Templates Videos siddhartha@siddhartha-Inspiron-545s ~ $ cd Desktop/ siddhartha@siddhartha-Inspiron-545s ~/Desktop $ ls Aptana_Studio_3 C_C++ Codes key Untitled Folder WS siddhartha@siddhartha-Inspiron-545s ~/Desktop $ cd Untitled\ Folder/ siddhartha@siddhartha-Inspiron-545s ~/Desktop/Untitled Folder $ ls film_review siddhartha@siddhartha-Inspiron-545s ~/Desktop/Untitled Folder $ git remote add origin git@github.com:siddhartha-ramesh/FilmReview.git fatal: remote origin already exists. siddhartha@siddhartha-Inspiron-545s ~/Desktop/Untitled Folder $ git push origin master To git@github.com:siddhartha-ramesh/FilmReview.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'git@github.com:siddhartha-ramesh/FilmReview.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Merge the remote changes (eg 'git pull') hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 

Si tiene su carpeta con sus files (imágenes en este caso) en su repository local (clonado de su repository github), todo lo que necesita hacer para ver esa carpeta en GitHub es:

 cd /path/to/that/folder git add . git commit "add folder with pictures" git push # or, if this is your first push: git push -u origin master 

En otras palabras, agrega todos los files en esa carpeta y los empuja.

En lugar de intentar agregar un control remoto, clone su repository de GitHub primero, agregue contenido en el clon local y presione.
No use ssh primero, use una url más simple basada en https, y su nombre de usuario / contraseña:

 git clone https://siddhartha-ramesh@github.com/siddhartha-ramesh/FilmReview cd FilmReview git config user.name siddhartha-ramesh git config user.email (your email address used on GitHub) # add your files git add . git commit -m "Add folder" git push -u origin master # the next push can be simply 'git push'