`alias git=hub` is valid in fish, so you can get rid of the code you added here to reduce code complexity.