While working with ionic appflow setup. if you are getting this kind of error
git push ionic master
Fatal error: ‘ionic’ does not appear to be a git repository
you have linked app correctly using
ionic link
setup ssh key pair correctly but even then you are getting this error then please check one thing.
run command
git remote -v
if you get . or _ in username or repository name, please remove it, it will fix this issue.
for repository name, you have to change app name and for username, you may change it from settings page on ionic portal.