Question: I am using git bash.

I created a branch, did some changes and committed. When I tried to push, it gives me:

> 
> error "refpath does not exist".
> 
> 
> 

I then checkout to other branch and retried to checkout to my branch but it says

> 
> error: pathspec 'tabViewComponent' did not match any file(s) known to
>  git.
> 
> 
> 

I did `git branch`, and it gives me branch name like this:

[![enter image description here](https://i.stack.imgur.com/7AKrE.png)](https://i.stack.imgur.com/7AKrE.png)

Answer: 
The branch name starts with the Unicode character ['START OF GUARDED AREA' (U+0096)](https://www.fileformat.info/info/unicode/char/96/index.htm)  that is difficult to distinguish from the ordinary dash character (`-`), only slightly wider on the font I am using.

Ways of entering Unicode characters at the command prompt differ by platform. You could copy it from the page linked above (or the command below) or use the compose sequence appropriate for your platform.

```
git checkout –tabViewComponent

```

[On Windows, entering Unicode](https://en.wikipedia.org/wiki/Unicode_input#In_Microsoft_Windows) is done by default with

> 
> Unicode characters can then be entered by holding down `Alt`, pressing the `+` on the numeric keypad, followed by the hexadecimal code – using the numeric keypad for digits from 0 to 9 and letter keys for A to F digits – and then releasing `Alt`.
> 
> 
> 

This is not a particularly friendly name for a branch because of all the trouble necessary to check it out and the confusion it will lead to if someone tries to use a leading dash. I *strongly* recommend renaming it to remove the leading U+0096.
Taking reference from <https://www.htmlsymbols.xyz/unicode/U+0096>, I see the name of the branch contains `–` at its start. can you try `git checkout –tabViewComponent`. Not sure if it a valid branch name.