Open your GitHub Clone folder and move ".git" folder to your destination folder.
Eg. Clone folder :: /var/www/html/htmwebsite
Destination folder :: /var/www/html
#cd /var/www/html/htmlwebsite
#mv .git ../ or mv .git /var/www/html
Then you can move your all files and folder from htmlwebsite to destination folder
#cd /var/www/html/htmlwebsite
#mv * ../ or mv * /var/www/html
Thats It !! Now run status command to check git is recognise your destination folder or not.
#cd /var/www/html
#git status <--- If GitHub is recognize folder it will showing message like below ...
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
All Done !!!
Eg. Clone folder :: /var/www/html/htmwebsite
Destination folder :: /var/www/html
#cd /var/www/html/htmlwebsite
#mv .git ../ or mv .git /var/www/html
Then you can move your all files and folder from htmlwebsite to destination folder
#cd /var/www/html/htmlwebsite
#mv * ../ or mv * /var/www/html
Thats It !! Now run status command to check git is recognise your destination folder or not.
#cd /var/www/html
#git status <--- If GitHub is recognize folder it will showing message like below ...
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
All Done !!!