! master -> master (branch is currently checked out) Error in git

I am very novice when it comes to GIT. Here I have tried to explain my error scenario. Please help me with exact command.

I have to empty repository in GIT remote location. And I only have permission to clone them and Push my changes to them. I don’t have any permission to direct access at GIT Remote.
The repos are. funder-sceduler.git and funder-request.git.
Detailed Path for them :

  • Add images to README.md on GitHub
  • changing the last commit message without committing newest changes
  • How does a migration from a Git branch get run on Heroku if a later migration from a different branch has already been run?
  • git commit -ac <commit_id> does not use latest date
  • Difference between a Git commit modified and Git commit new file
  • Can't import android project from git
    1. ssh://gitadmin@svn.wps.wiley.com/apps/git/web-platform/dotcms/modules/funder-request.git
    2. ssh://gitadmin@svn.wps.wiley.com/apps/git/web-platform/dotcms/modules/funder-scheduler.git

    Now I cloned funder-scheduler.git in my local. I added my changes. Then I did a GIT commit.
    Then git push origin master.
    It worked fine.

    But when I do the same for funder-request.git, After running the command ‘git push origin master’ its throwing the following error:

    >$ git push origin master
    >Enter passphrase for key '/u/.ssh/id_rsa':
    >Counting objects: 81, done.
    >Compressing objects: 100% (61/61), done.
    >Writing objects: 100% (81/81), 215.86 KiB | 126.00 KiB/s, done.
    >Total 81 (delta 4), reused 0 (delta 0)
    >remote: error: refusing to update checked out branch: refs/heads/master
    >remote: error: By default, updating the current branch in a non-bare repository
    >remote: error: is denied, because it will make the index and work tree inconsist
    >remote: error: with what you pushed, and will require 'git reset --hard' to matc
    >remote: error: the work tree to HEAD.
    >remote: error:
    >remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
    >remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
    >remote: error: its current branch; however, this is not recommended unless you
    >remote: error: arranged to update its work tree to match what you pushed in some
    >remote: error: other way.
    >remote: error:
    >remote: error: To squelch this message and still keep the default behaviour, set
    >remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
    To ssh://gitadmin@svn.wps.wiley.com/apps/git/web-platform/dotcms/modules/funder-
     ! [remote rejected] master -> master (branch is currently checked out)
    error: failed to push some refs to 'ssh://gitadmin@svn.wps.wiley.com/apps/git/we

    Requesting to help me with exact command to solve this.
    I will not understand theoretical explanation, and I’m sorry for that

  • How does “index f2e4113..d4b9bfc 100644” in git diff correspond to SHA1 ID in gitk?
  • Pull says there are changes, stash says there are no changes?
  • How do I push all branches to one remote, and only individual branches to others?
  • git log: only show yesterday's commit
  • Git pull and push works in Windows but not in VM
  • How to push temporary changes?
  • One Solution collect form web for “! master -> master (branch is currently checked out) Error in git”

    It appears funder-request.git is not a bare repo, meaning it has a working tree (files that come from the checkout of a branch).

    See “all about “bare” repos — what, why, and how to fix a non-bare push” for more:
    Using a non-bare repo entails the risk of making the content of the working tree out of sync with the content of the git repo itself.

    You need to contact the admin of that server and make it convert to a bare repo.
    See “How to convert a git repository from normal to bare ?”.

    Git Baby is a git and github fan, let's start git clone.