"GetFileInfo" is not a separate app, but a process inside the Finder, therefore you cannot use
open on it. But you could use the following Applescript:
tell application "Finder" to activate
set thePath to POSIX file "/path/to/file"
tell application "Finder" to reveal thePath
tell application "System Events" to keystroke "i" using command down
Now the problem is, that you can not select a file in the Finder that you can not see, making the whole script solution useless if you "do not want to make my hidden files visible. Even temporarily."
But: if you would specify what exactly you're looking for inside the "Get Info" window (e.g. change permissions, get metadata), chances are there's a command line solution for it that works right away.
To open .htaccess or similar dot-files with a specific editor you would have to re-define wich application is the handler for the
text/plain mime type or the
public.plain-text UTI (for more on the topic of UTIs, see this article for example).
This means that unfortunately .htaccess is viewed the same as .txt by the system and thus both will open with the same editor.
In any case, a comfortable tool to change default file handlers is the preference pane RCDefaultApp which is covered in a lot of questions here on stackexchange.