Some of you might be just mistyped / as \, because you're a Windows user.
/
\
Invalid .gitignore example:
.gitignore
build\
Valid .gitignore example:
build/