terminal mac - bash command not found, permission denied and '&gt' in prompt I tried to change colours in Terminal following this guide: 

  http://voidcanvas.com/ubuntu-like-mac-terminal/


I created bash_profile file, saved and quitted Terminal. Now when i open Terminal I get this

Last login: Mon Oct 17 01:36:24 on ttys000
-bash:  : command not found
-bash:  : command not found
-bash:    git: command not found
-bash: gt: command not found
-bash: /dev/null: Permission denied
-&gt;&gt; $ 


the last line is changed in StackExchange's text editor, I do not understand why please look at the uploaded photo below - this is how it looks in my terminal

I deleted bash_profile and I still get the same.



Every command I write is followed by: 

-bash:    git: command not found
-bash: gt: command not found
-bash: /dev/null: Permission denied


What should I do it to stop it?

Update from comments: Here's what I put in the file.

export CLICOLOR=1
export LSCOLORS=GxBxCxDxexegedabagaced
parse_git_branch() {
    git branch 2&amp;gt; /dev/null |
    sed -e '/^[^*]/d' -e 's/* (.*)/ (\1)/'
}
export PS1="\e[0;35m-&amp;gt;&amp;gt; \e[1;34m\W\e[0;32m\$(parse_git_branch)\e[0;37m $ "
The &amp;gt; is a syntax error, apparently caused by HTML markup in whatever source you copy/pasted this from.  Where you see &amp;gt; the author intended &gt; and where you see &amp;lt; the author intended &lt;.  If there's an &amp;amp; that will need to be replaced with a literal &amp; etc.

See a listing of HTML entity codes for a somewhat more exhaustive list.