Branch Naming
Use short lowercase names with a prefix such as feature/login or fix/typo. Slashes group branches.
Example
echo one > a.txt && git add a.txt && git commit -qm 'first'
git branch feature/login
git branch fix/typo
git branch --list 'feature/*' | tr -d ' 'Result
feature/login
Exercise
List by pattern.
git branch --list ""
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.