Phabricator first time 'arc land' fails
<p>I have installed and configured Phabricator so it has no warnings shown on web. Then I tried to create a repository and make a first git commit. I have get the revision accepted, however when I tried to do 'arc land' it failed with this message:</p>

<pre><code>-&gt; % arc land
Landing current branch 'master'.
TARGET  Landing onto "master", the default target under git.
REMOTE  Using remote "origin", the default remote under git.
Exception
Branch "master" does not exist in remote "origin".
(Run with `--trace` for a full exception trace.)
</code></pre>

<p>If I run with '--trace', I got:</p>

<pre><code>ARGV  '/phabricator/arcanist/bin/../scripts/arcanist.php' 'land' '--trace'
LOAD  Loaded "phutil" from "/phabricator/libphutil/src".
LOAD  Loaded "arcanist" from "/phabricator/arcanist/src".
Config: Reading user configuration file "/home/xxx/.arcrc"...
Config: Did not find system configuration at "/etc/arcconfig".
Working Copy: Reading .arcconfig from "/Users/dkr/Code/knquant/test/.arcconfig".
Working Copy: Path "/test" is part of `git` working copy "/test".
Working Copy: Project root is at "/test".
Config: Did not find local configuration at "/test/.git/arc/config".
&gt;&gt;&gt; [0] &lt;conduit&gt; user.whoami() &lt;bytes = 117&gt;
&gt;&gt;&gt; [1] &lt;http&gt; http://pb.xxxxxx.com/api/user.whoami
&lt;&lt;&lt; [1] &lt;http&gt; 360,568 us
&lt;&lt;&lt; [0] &lt;conduit&gt; 361,088 us
&gt;&gt;&gt; [2] &lt;exec&gt; $ git symbolic-ref --quiet HEAD
&lt;&lt;&lt; [2] &lt;exec&gt; 5,927 us
&gt;&gt;&gt; [3] &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
&lt;&lt;&lt; [3] &lt;exec&gt; 4,846 us
&gt;&gt;&gt; [4] &lt;exec&gt; $ git --version
&lt;&lt;&lt; [4] &lt;exec&gt; 3,654 us
&gt;&gt;&gt; [5] &lt;exec&gt; $ git ls-remote --get-url 'origin'
&lt;&lt;&lt; [5] &lt;exec&gt; 4,085 us
&gt;&gt;&gt; [6] &lt;conduit&gt; repository.query() &lt;bytes = 227&gt;
&gt;&gt;&gt; [7] &lt;http&gt; http://pb.xxxxxx.com/api/repository.query
&lt;&lt;&lt; [7] &lt;http&gt; 81,179 us
&lt;&lt;&lt; [6] &lt;conduit&gt; 81,384 us
&gt;&gt;&gt; [8] &lt;exec&gt; $ git symbolic-ref --quiet HEAD
&lt;&lt;&lt; [8] &lt;exec&gt; 5,159 us
Landing current branch 'master'.
&gt;&gt;&gt; [9] &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
&lt;&lt;&lt; [9] &lt;exec&gt; 4,147 us
&gt;&gt;&gt; [10] &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
&lt;&lt;&lt; [10] &lt;exec&gt; 4,663 us
&gt;&gt;&gt; [11] &lt;exec&gt; $ git symbolic-ref --quiet HEAD
&lt;&lt;&lt; [11] &lt;exec&gt; 4,003 us
&gt;&gt;&gt; [12] &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
&lt;&lt;&lt; [12] &lt;exec&gt; 4,160 us
TARGET  Landing onto "master", the default target under git.
&gt;&gt;&gt; [13] &lt;exec&gt; $ git rev-parse --symbolic-full-name 'master'@{upstream}
&lt;&lt;&lt; [13] &lt;exec&gt; 4,694 us
REMOTE  Using remote "origin", the default remote under git.
&gt;&gt;&gt; [14] &lt;exec&gt; $ git diff --no-ext-diff --no-textconv --raw 'HEAD' --
&gt;&gt;&gt; [15] &lt;exec&gt; $ git ls-files --others --exclude-standard
&lt;&lt;&lt; [14] &lt;exec&gt; 4,833 us
&lt;&lt;&lt; [15] &lt;exec&gt; 4,770 us
&gt;&gt;&gt; [16] &lt;exec&gt; $ git diff-files --name-only
&lt;&lt;&lt; [16] &lt;exec&gt; 5,004 us
&gt;&gt;&gt; [17] &lt;exec&gt; $ git rev-parse --verify 'origin/master'
&lt;&lt;&lt; [17] &lt;exec&gt; 3,919 us

[2016-03-03 01:38:51] EXCEPTION: (Exception) Branch "master" does not exist in remote "origin". at [&lt;arcanist&gt;/src/land/ArcanistGitLandEngine.php:101]
arcanist(head=master, ref.master=086f5399bfbb), phutil(head=master, ref.master=6ef9295e388d)
  #0 ArcanistGitLandEngine::verifySourceAndTargetExist() called at [&lt;arcanist&gt;/src/land/ArcanistGitLandEngine.php:13]
  #1 ArcanistGitLandEngine::execute() called at [&lt;arcanist&gt;/src/workflow/ArcanistLandWorkflow.php:296]
  #2 ArcanistLandWorkflow::run() called at [&lt;arcanist&gt;/scripts/arcanist.php:392]
</code></pre>

<p>I have searched everywhere but found no any helpful information.</p>