parsing the name of a branch with a forward slash "/" will fail.
this is because the script always assumes that the portion after the slash contains a subdirectory, and not that it could be part of the branch name.
example:
parsing the branch feature/xyz of repo_name under user_name, and subdirectory /src/:
https://github.com/user_name/repo_name/tree/feature/xyz/src
will fail. because it gets parsed as branch = "feature", subdir = "/xyz/src/"